package com.topvision.myviewtest.gscview;

import android.support.annotation.NonNull;

/**
 * @author lucy
 * @date 2018-10-18 11:51
 * @description //TODO
 */

public class PieData {
    /**
     * 用户关心数据
     */
    private String mName;
    private float mPercentage;
    private float mValue;

    /**
     * 非用户关心数据
     */
    private int mColor;
    private float angle;

    public PieData(@NonNull String name, float value) {
        mName = name;
        mValue = value;
    }

    public String getName() {
        return mName;
    }

    public void setName(String name) {
        mName = name;
    }

    public float getPercentage() {
        return mPercentage;
    }

    public void setPercentage(float percentage) {
        mPercentage = percentage;
    }

    public float getValue() {
        return mValue;
    }

    public void setValue(float value) {
        mValue = value;
    }

    public int getColor() {
        return mColor;
    }

    public void setColor(int color) {
        mColor = color;
    }

    public float getAngle() {
        return angle;
    }

    public void setAngle(float angle) {
        this.angle = angle;
    }
}
